<h3><?php echo __text('Language'); ?></h3>
<?php echo Toolbar::factory('admin/i18n/language')->render(); ?>
<div class="adminTableWrapper">
	<table class="adminTable">
		<thead>
			<tr>
				<td><input type="checkbox" class="checkall"/></td>
				<td>ID</td>
				<td><?php echo __text('Title'); ?></td>
				<td><?php echo __text('Code'); ?></td>
				<td><?php echo __text('Flag'); ?></td>
				<td><?php echo __text('Active'); ?></td>
				<td><?php echo __text('Operations'); ?></td>
			</tr>
 
		</thead>
		<tbody>
			<?php foreach($items as $item): ?>
			<tr>
				<td><input type="checkbox" class="checkbox" name="checkbox[]" value="<?php echo $item -> getId(); ?>"/></td>
				<td><?php echo $item -> getId(); ?></td>
				<td><?php echo $item -> getTitle(); ?></td>
				<td><?php echo $item -> getCode(); ?></td>
				<td><?php echo $item -> getFlag(); ?></td>
				<td><?php echo $item -> isActive() ? __text('Yes') : __text('No'); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('admin/system/i18n/language/edit', array('id' => $item -> getId())); ?>"><?php echo __text('Edit'); ?></a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
